"""
逻辑运算与或非
1.and与
2.or 或
3.not 非
条件  与/或  条件

"""


# input 运行代码时，接收用户输入
salary = input("请输入你的目标薪资：")
addition = input("请输入是否双休：单休,双休,大小周")

# # 判断函数类型
# # type（变量）-获取变量数据类型
# print(type(salary))
# 将数字转为字符串，转成int/float类型  --- int（salary）

# 同时满足1800和双休
# res = (int(salary) == 1800) and (addition == "双休")
# print(res)

# 1800和双休满足一个
# res = (int(salary) == 1800) or (addition == "双休")
# print(res)

# 不能是1800 或者不能是双休
# res = (not int(salary) == 1500) or not addition == "双休"
# print(res)

# 不能是1800并且不能是双休
# res = (not int(salary) == 1500) and not addition == "双休"
# print(res)